import type { PaginationParams } from '@/types';

/**
 * 用户管理相关类型定义
 */

// 获取用户列表参数
export interface GetUsersParams {
  page?: number;
  pageSize?: number;
  search?: string;
  type?: string;
  status?: string;
  roleId?: string;
  tenantId?: string;
}

// 创建用户数据
export interface CreateUserData {
  email: string;
  password: string;
  firstName?: string;
  lastName?: string;
  type?: string;
  roleId?: string;
  tenantId?: string;
}

// 更新用户数据
export interface UpdateUserData {
  email?: string;
  firstName?: string;
  lastName?: string;
  roleId?: string;
  status?: string;
  avatar?: string;
}

